#include <stdlib.h>
#include <stdio.h>
#include <assert.h>

int main(int argc, char **argv)
{
     int i;
     FILE* fp = fopen("/dev/urandom","r");
     srand(getc(fp));
     assert(argc>1);
     for (i=0;i<atoi(argv[1]);i++) {
          printf("%i",rand()%4);
     }
     printf("\n");
     fclose(fp);
     return 0;
}
